from django.urls import path

from goods import views

app_name = 'goods'
urlpatterns = [
    path('list/<int:category_id>/<int:page_num>/', views.ListView.as_view(), name='list'),
    path('hot/<int:category_id>/', views.HostGoodsView.as_view()),
    path('detail/<int:sku_id>/', views.DetailView.as_view(), name='detail'),

    path('comments/<int:sku_id>', views.GoodsCommentView.as_view()),
]
